package vip.xiaonuo.hontu.issued.response;

import com.alibaba.fastjson.annotation.JSONField;
import java.util.List;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@NoArgsConstructor
@Data
@Accessors(chain = true)
public class BatchAddPersonResponse {


    /**
     * code
     */
    @JSONField(name = "code")
    private Integer code;
    /**
     * data
     */
    @JSONField(name = "data")
    private DataDTO data;
    /**
     * msg
     */
    @JSONField(name = "msg")
    private String msg;

    /**
     * DataDTO
     */
    @NoArgsConstructor
    @Data
    public static class DataDTO {

        /**
         * failures
         */
        @JSONField(name = "failures")
        private List<SuccessesDTO> failures;
        /**
         * successes
         */
        @JSONField(name = "successes")
        private List<SuccessesDTO> successes;

        /**
         * SuccessesDTO
         */
        @NoArgsConstructor
        @Data
        public static class SuccessesDTO {

            private String msg;


            private String code;


            /**
             * birthdayStamp
             */
            @JSONField(name = "birthdayStamp")
            private Long birthdayStamp;
            /**
             * cardNum
             */
            @JSONField(name = "cardNum")
            private String cardNum;
            /**
             * email
             */
            @JSONField(name = "email")
            private String email;
            /**
             * entryTimeStamp
             */
            @JSONField(name = "entryTimeStamp")
            private Long entryTimeStamp;
            /**
             * ext
             */
            @JSONField(name = "ext")
            private String ext;
            /**
             * groupList
             */
            @JSONField(name = "groupList")
            private List<String> groupList;
            /**
             * identifyNum
             */
            @JSONField(name = "identifyNum")
            private String identifyNum;
            /**
             * imageUri
             */
            @JSONField(name = "imageUri")
            private String imageUri;
            /**
             * name
             */
            @JSONField(name = "name")
            private String name;
            /**
             * password
             */
            @JSONField(name = "password")
            private String password;
            /**
             * phone
             */
            @JSONField(name = "phone")
            private String phone;
            /**
             * postion
             */
            @JSONField(name = "postion")
            private String postion;
            /**
             * sex
             */
            @JSONField(name = "sex")
            private Integer sex;
            /**
             * staffCode
             */
            @JSONField(name = "staffCode")
            private String staffCode;
            /**
             * type
             */
            @JSONField(name = "type")
            private Integer type;
            /**
             * uuid
             */
            @JSONField(name = "uuid")
            private String uuid;
            /**
             * orgUuid
             */
            @JSONField(name = "orgUuid")
            private String orgUuid;
        }
    }
}
